<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>登录</title>
<script th:src="@{/static/jquery/jquery-1.12.3.min.js}"></script>
<script th:src="@{/static/bootstrap-3.3.5-dist/js/bootstrap.min.js}"></script>
<!-- Bootstrap -->
<link th:href="@{/static/bootstrap-3.3.5-dist/css/bootstrap.min.css}" rel="stylesheet" />
<!-- 列表框架 -->
<!-- bootstrap-table 1.9.0 + 中文支持-->
<link rel="stylesheet" href="/static/bootstrapvalidator-0.4.5-dist/bootstrapValidator.min.css">
<script type="text/javascript" src="/static/bootstrapvalidator-0.4.5-dist/bootstrapValidator.min.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
    <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
<title>首页</title>
</head>
<body>
	<div class="container bs-docs-container">
		<div class="col-md-9" role="main">
			<div class="bs-docs-section">
				<form action="" enctype="multipart/form-data">
					<div class="form-group">
						<label>rom名称</label>
						<input class="form-control" type="text" name="name" maxlength="250">
					</div>
					<div class="form-group">
						<label>版本号</label>
						<input type="text" name="version" maxlength="250" data-bv-notempty data-bv-notempty-message="版本号不能为空">
					</div>
					<div class="form-group">
						<label>类型</label> <select type="text" name="type" data-bv-notempty data-bv-notempty-message="类型未选择">
							<option value="">请选择</option>
							<option value="1">wifi</option>
							<option value="2">mcu</option>
						</select>
					</div>
					<div class="form-group">
						<input type="file" value="请选择文件" name="file" data-bv-notempty data-bv-notempty-message="rom文件未选择">
					</div>
					<button type="submit">上传</button>
				</form>
			</div>
		</div>
		<div th:replace="footer :: nav"></div>
	</div>
</body>
</html>